package com.example.demo.entity;

import java.io.Serializable;

public class TaskFamily implements Serializable {
    private Integer taskFamilyId;

    private Integer taskFatherId;

    private Integer taskChildId;

    private static final long serialVersionUID = 1L;

    public Integer getTaskFamilyId() {
        return taskFamilyId;
    }

    public void setTaskFamilyId(Integer taskFamilyId) {
        this.taskFamilyId = taskFamilyId;
    }

    public Integer getTaskFatherId() {
        return taskFatherId;
    }

    public void setTaskFatherId(Integer taskFatherId) {
        this.taskFatherId = taskFatherId;
    }

    public Integer getTaskChildId() {
        return taskChildId;
    }

    public void setTaskChildId(Integer taskChildId) {
        this.taskChildId = taskChildId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", taskFamilyId=").append(taskFamilyId);
        sb.append(", taskFatherId=").append(taskFatherId);
        sb.append(", taskChildId=").append(taskChildId);
        sb.append("]");
        return sb.toString();
    }
}